<div class="cy-content-left-item">
	  <h3>
		<div class="ho-tro-truc-tuyen"></div><!--ho-tro-truc-tuyen--> 
	  </h3>
      <div class="textnd">
	  <?php
		$loop = new WP_Query(array('post_type'=>'ho_tro_truc_tuyen','loai_ho_tro'=>'yahoo','order'=>'ASC','posts_per_page'=>4));
	  ?>
	  <?php while ( $loop->have_posts() ) : $loop->the_post(); //bat dau vong lap 
		$yahoo=get('nick_chat_yahoo');
		$img = file_get_contents('http://opi.yahoo.com/online?u='.$yahoo.'&m=l&t=12&l=us');
        ?>
        <div class="cy-yahoo">
        <?php
		if( strpos($img,'NOT ONLINE') )
		{
    	 ?>
    	    <a href="ymsgr:sendim?<?php echo get('nick_chat_yahoo');?>">
    	    <img border="0" src="<?php bloginfo("template_directory"); ?>/_img/offline.jpg" alt="support">
    	    </a>
	  <?php 
		}
		else
		{
		?>
    	    <a href="ymsgr:sendim?<?php echo get('nick_chat_yahoo');?>">
    		<img border="0" src="<?php bloginfo("template_directory"); ?>/_img/online.jpg"/m=g/t=5/l=us/opi.gif" alt="support">
    		</a>
	    <?php
		}
	  ?>
         </div><!--cy-yahoo-->
        <div class="cy-skype">
            <a href="skype:<?php echo get('nick_chat_skype');?>?chat" > <img width="16" height="16" alt="My status" style="border: none;" src="<?php bloginfo("template_directory"); ?>/_img/skype.png">
    	    </a>
        </div><!--cy-skype-->
        <div class="cy-info">
            <?php the_title();?> : <span><?php echo get('nick_chat_name');?></span> - Tel : <span><?php echo get('nick_chat_phone');?></span>
        </div><!--cy-info-->
	  <?php endwhile; //ket thuc vong lap ?>
	  <?php wp_reset_query();?>
      </div><!--textnd-->
</div><!--cy-content-left-item-->